package com.qdlc.p2p.biz.service;


import com.qdlc.p2p.dal.common.model.jpa.PageDataList;
import com.qdlc.p2p.dal.dto.EnjoyUser;
import com.qdlc.p2p.dal.model.EnjoyUserModel;

/**
 * Created by D on 2016/1/21.
 */
public interface EnjoyUserService {

    /**
     * 发放奖品给用户
     */
    void giveGoods(EnjoyUser enjoyUser);

    /**
     * 根据model进行查询
     * @param model
     * @return
     */
    PageDataList<EnjoyUserModel> findByModel(EnjoyUserModel model);

    /**
     * 修改商品状态
     */
    void updateStatus(long enjoyBorrowId, int status);
}
